-- GENERATED SPELL FOR [Gan'arg Servant] --


function spell0_16947(pUnit, Event) --@Power Burn,n/a--
pUnit:FullCastSpellOnTarget(32003,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16947', 651, 1)
end

function Sorts_16947(pUnit, Event)
local choix_sorts_16947 = math.random(0, 0)
if choix_sorts_16947 == 0 then
pUnit:RegisterEvent('spell0_16947', 1, 1)
end
end

function mob16947_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16947', math.random(1500, 3000), 1)
end

function mob16947_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16947_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16947_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16947, 1, 'mob16947_Action')
RegisterUnitEvent(16947, 2, 'mob16947_Leave')
RegisterUnitEvent(16947, 3, 'mob16947_Kill')
RegisterUnitEvent(16947, 4, 'mob16947_Die')
